
import { debounce } from 'common/utils';
export const itemListenerMixin = {
    data() {
        return {
            debounces: null

        }
    },
    //获取到这个监听的事件
    mounted() {
        this.debounces = debounce(this.$refs.betscroll.scroll.refresh, 30);
        this.$bus.$on("homeoverimg", () => {
            //这里面进行scroll进行刷新
            //console.log(11111111)
            this.debounces();
        });
        this.$bus.$on("detailoverimg", () => {
            //这里面进行scroll进行刷新
            //console.log(99999999)
            this.debounces();
        });
    }

}
import backtop from "components/conent/backtop/backtop";
//抽取右下角图片的显示和隐藏
export const showupimg = {
    data() {
        return {
            homeSS: false,
            arimg: false,
            tabcrolnum: 0
        }
    }, components: {
        backtop
    }, methods: {
        backtopclick() {
            this.$refs.betscroll.batterscrollcli(0, 0, 300);
        }//隐藏图片方法     
    },

}